package com.suray.system.run.data.mysql.device.offline;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.system.run.data.mysql.device.entity.OffLineDesDB;

import java.util.Date;
import java.util.List;

public interface OffLineDesDBService extends IService<OffLineDesDB> {
    /**
     * 查找当前离线信息
     * @param series
     * @return
     */
    OffLineDesDB findOffLineDesDBBySeries(String series);

    /**
     * 获取小车所有离线信息
     * @param series
     * @param startTime
     * @param endTime
     * @return
     */
    public List<OffLineDesDB> getOffLineList(String series, Date startTime, Date endTime);
}
